package com.eduhzy.ttw.teacher.di.component;

import com.eduhzy.ttw.teacher.di.module.ForgetPWDModule;
import com.eduhzy.ttw.teacher.mvp.contract.ForgetPWDContract;
import com.eduhzy.ttw.teacher.mvp.ui.activity.ForgetPWDActivity;
import com.eduhzy.ttw.teacher.mvp.ui.activity.ResetPasswordActivity;
import com.jess.arms.di.component.AppComponent;
import com.jess.arms.di.scope.ActivityScope;

import dagger.BindsInstance;
import dagger.Component;

@ActivityScope
@Component(modules = ForgetPWDModule.class, dependencies = AppComponent.class)
public interface ForgetPWDComponent {
    void inject(ForgetPWDActivity activity);
    void inject(ResetPasswordActivity resetPasswordActivity);


    @Component.Builder
    interface Builder {
        @BindsInstance
        ForgetPWDComponent.Builder view(ForgetPWDContract.View view);

        ForgetPWDComponent.Builder appComponent(AppComponent appComponent);

        ForgetPWDComponent build();
    }


}